import { h, getCurrentInstance } from './../../lib/guide-coco-mini-vue.esm.js'
import Child from './Child.js'


window.self = null;
export default {
	name: "App",
	// 必须要写 render 
	render() {
		const child = h(Child);
		const app = h('div', {}, 'App 组件');
		return h('div', {}, [app,child]);
	},

	setup() {
		const currentInstance = getCurrentInstance();
		console.log("getCurrentInstance App 组件", currentInstance)
		return {}
	}
}